From 9c891c3274120e13666f1285a77ef11857598e4f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 8 Mar 2009 07:07:35 +0000 Subject: [PATCH] * Fixed notice * Added mergehistory-reason * Fixed XHTML * Fixed obviously unaligned table --- includes/specials/SpecialMergeHistory.php | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/includes/specials/SpecialMergeHistory.php b/includes/specials/SpecialMergeHistory.php index 3ba72ef8f3..300157ee78 100644 --- a/includes/specials/SpecialMergeHistory.php +++ b/includes/specials/SpecialMergeHistory.php @@ -165,19 +165,15 @@ class MergehistoryForm { # in a nice little table $table = Xml::openElement( 'fieldset' ) . + wfMsgExt( 'mergehistory-merge', array('parseinline'), + $this->mTargetObj->getPrefixedText(), $this->mDestObj->getPrefixedText() ) . Xml::openElement( 'table', array( 'id' => 'mw-mergehistory-table' ) ) . " " . - wfMsgExt( 'mergehistory-merge', array('parseinline'), - $this->mTargetObj->getPrefixedText(), $this->mDestObj->getPrefixedText() ) . - " - - - " . - Xml::label( wfMsg( 'undeletecomment' ), 'wpComment' ) . + Xml::label( wfMsg( 'mergehistory-reason' ), 'wpComment' ) . " " . - Xml::input( 'wpComment', 50, $this->mComment ) . + Xml::input( 'wpComment', 50, $this->mComment, array('id' => 'wpComment') ) . " @@ -438,7 +434,7 @@ class MergeHistoryPager extends ReverseChronologicalPager { return array( 'tables' => array('revision','page'), 'fields' => array( 'rev_minor_edit', 'rev_timestamp', 'rev_user', 'rev_user_text', 'rev_comment', - 'rev_id', 'rev_page', 'rev_text_id', 'rev_len', 'rev_deleted' ), + 'rev_id', 'rev_page', 'rev_parent_id', 'rev_text_id', 'rev_len', 'rev_deleted' ), 'conds' => $conds ); } -- 2.20.1